﻿using Prism.Mvvm;

namespace IntoStationSystem.Models
{
    public class LeakageModel : BindableBase
    {
        bool testOK;
        bool testNG;
        bool breakDown;
        bool prepareOK;
        double leakageVal;
        double pressure;
        int programNum;

        bool start;
        bool stop;
        float curProgramNum;
        bool clear;

        public bool TestOK
        {
            get => testOK; set => SetProperty(ref testOK, value);
        }
        public bool TestNG
        {
            get => testNG;set => SetProperty(ref testNG, value);
        }
        public bool BreakDown
        {
            get => breakDown;set => SetProperty(ref breakDown, value);
        }
        public bool PrepareOK
        {
            get => prepareOK; set => SetProperty(ref prepareOK, value);
        }
        public double LeakageVal

        {
            get => leakageVal; set => SetProperty(ref leakageVal, value);
        }
        public int ProgramNum
        {
            get => programNum; set => SetProperty(ref programNum, value);
        }
        public double Pressure
        {
            get => pressure; set => SetProperty(ref pressure, value);
        }
        public bool Start
        {
            get => start; set => SetProperty(ref start, value);
        }
        public bool Stop
        {
            get => stop; set => SetProperty(ref stop, value);
        }
        public float CurProgramNum
        {
            get => curProgramNum; set => SetProperty(ref curProgramNum, value);
        }
        public bool Clear
        {
            get => clear; set => SetProperty(ref clear, value);
        }
    }
}
